/**
 * @Copyright:Copyright (c) 2007 - 2023
 * 
 */
package com.tengtong.commons.json;

import java.util.Collection;
import java.util.List;

/**
 * Json 数组
 *
 * @author lin_jinming
 * @since: v1.0
 */
public interface Jsons extends List<Json>{
    
    default public Jsons addJson(Json j) {
        add(j);
        return this;
    }
    
    default public Jsons addJsons(Collection<Json> js) {
        addAll(js);
        return this;
    }
    
    default public Jsons removeJson(int index) {
        remove(index);
        return this;
    }
}
